import Mock from 'mockjs'
import bannerList from './banner.json';
import floorList from  './floor.json'
Mock.mock('/mock/bannerList',function(){
    return {
        code:200,
        data:bannerList,
        message:'success'
    }
})
Mock.mock('/mock/floorList',function(){
    return {
        code:200,
        data:floorList,
        message:'success'
    }
})


// Mock.mock('/mock/abc',function(){
//     let userInfo={
//         username:'张三',
//         age:10
//     }
//     return {
//         code:200,
//         data:userInfo,
//         message:'success'
//     }
// })